package com.yqy.android.service;

import com.android.base.module.http.callback.ShowApiResponse;
import com.yqy.android.entity.UserInfo;

import java.util.Map;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Header;
import retrofit2.http.POST;
import rx.Observable;


/**
 * <Pre>
 * APP api
 * </Pre>
 *
 * @author YANGQIYUN
 * @version 1.0
 *          <p>
 *          Create by 2016/1/27 15:22
 */
public interface ShowApi<T> {

    /**
     * 获取临时账号
     * @return
     */
    @FormUrlEncoded
    @POST("/account/register_temporary")
    Observable<UserInfo> getTemporAccount(@Header("Cache-Control") String cacheControl,
                                                           @FieldMap Map<String, String> parmas);

}
